import request from '@/utils/request'

// 获取客户跟进信息
export function getCustomerTrackList(id) {
  return request({
    url: `/api/crm/track/${id}`,
    method: 'GET'
  })
}

// 添加客户跟进信息
export function createCustomerTrack(data) {
  return request({
    url: '/api/crm/track',
    method: 'POST',
    data
  })
}

// 删除客户跟进信息
export function delCustomerTrack(id) {
  return request({
    url: `/api/crm/track/${id}`,
    method: 'DELETE'
  })
}
